Welcome![Sign In][Sign Up]
Location:
Search - gfxfont.h hge

Search list

[SourceCodeHGE 中文显示新方案

Description: HGE 中文显示新方案 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Author - 微妙的平衡(BOGY) Mail - bogy.cn@gmail.com Home - http://bogy.cn 文件与目录结构说明 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GfxFont.cpp 中文字体类实现定义文件 GfxFont.h 中文字体类实现声明文件 Readme.txt 本描述文档 简单介绍 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 本方法是为解决HGE项目中支持中文显示的新方案。 本解决方案不需要依赖任何图片字模,并支持丰富的显示方法。 使用方法很简单,只需如下几步即可: 一、包含 "CN\GfxFont.h" 头文件。 二、创建字体指针:GfxFont fontspr = new GfxFont(字体名,字体大小,是否粗体,是否斜体,是否平滑模式); 三、文本颜色:fontspr->SetColor(ARGB); 三、文本渲染:fontspr->Print(坐标x,坐标y,文本内容); 四、销毁字体:当程序结束时,使用 delete fontspr; 来销毁字体。 声明与感谢 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 若你在使用中存在疑问,请至邮:bogy.cn@gmail.com 我会尽快回复。 ____________________________________________________________ Copyright 2008 BOGY.CN. All Rights Reserved.
Platform: | Size: 275967 | Author: 43156150@qq.com | Hits:

[Graph programhge_wim

Description: 用HGE引擎模仿《传奇》做的一个DEMO,用的是《传奇》里的资源,对于刚使用HGE开发2D游戏的朋友们很有参考价值。游戏里支持装备和物品的使用、拾起、丢弃等操作,按F1和F2可以分别切换碰撞检测和碰撞体显示。里面使用了超大地图拼接、多图层、A*算法、HGE汉字处理等技术。-HGE engine used to imitate The Legend to do a DEMO, use the word legend in the resources, for just the use of HGE develop 2D games are worthy friends. Game to support the use of equipment and items, picked up, thrown away, such as operation, according to F1 and F2 can switch collision detection and collision body show. Which used the super-map stitching, multi-layer, A* algorithm, HGE processing technologies such as Chinese characters.
Platform: | Size: 43143168 | Author: xiao | Hits:

CodeBus www.codebus.net